import { useDispatch } from "react-redux"
import { SetActions } from "./set.slice"

export const useShowSetModule = ()=>{
    const dispatch = useDispatch()
    return ()=>{
        dispatch(SetActions.onShowSetModule)
    }
}

export const useCloseetModule = ()=>{
    const dispatch = useDispatch()
    return ()=>{
        dispatch(SetActions.onCloseSetModule)
    }
}